package com.yuhanginfo.modules.web.entity;

import org.hibernate.validator.constraints.Length;

import com.yuhanginfo.common.persistence.WebDataEntity;

/**
 * 套餐门店Entity
 * @author lvls
 * @version 2017-11-15
 */
public class WebGoodsCombStore extends WebDataEntity<WebGoodsCombStore> {
	
	private static final long serialVersionUID = 1L;
	private String storeCode;		// 门店号
	private String goodsCombCode;		// 商品号
	private Integer isHistory;
	public WebGoodsCombStore() {
		super();
	}

	public WebGoodsCombStore(String id){
		super(id);
	}

	@Length(min=0, max=30, message="门店号长度必须介于 0 和 30 之间")
	public String getStoreCode() {
		return storeCode;
	}

	public void setStoreCode(String storeCode) {
		this.storeCode = storeCode;
	}
	
	@Length(min=0, max=30, message="商品号长度必须介于 0 和 30 之间")
	public String getGoodsCombCode() {
		return goodsCombCode;
	}

	public void setGoodsCombCode(String goodsCombCode) {
		this.goodsCombCode = goodsCombCode;
	}

	public Integer getIsHistory() {
		return isHistory;
	}

	public void setIsHistory(Integer isHistory) {
		this.isHistory = isHistory;
	}
	
}